﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2020
// 文件： LiveRoomEntity.cs
// 项目名称：斑马车务
// 创建时间：2020/3/4
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("RoomID")]
	public class LiveRoom
	{
		///<summary>
		///
		///</summary>
		public LiveRoom()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("RoomID","主键")]
        public int RoomID { get; set; }

		///<summary>
		///名称
		///</summary>
        [Column("Name","名称")]
        public string Name { get; set; }

		///<summary>
		///简介
		///</summary>
        [Column("Description","简介")]
        public string Description { get; set; }

		///<summary>
		///图片
		///</summary>
        [Column("CoverImage","图片")]
        public string CoverImage { get; set; }

		///<summary>
		///用户ID
		///</summary>
        [Column("UserID","用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///微信号
        ///</summary>
        [Column("WeChartNum", "微信号")]
        public string WeChartNum { get; set; }

        ///<summary>
        ///OpenID
        ///</summary>
        [Column("OpenID", "OpenID")]
        public string OpenID { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("WeChartUserHead","")]
        public string WeChartUserHead { get; set; }

		///<summary>
		///状态
		///</summary>
        [Column("Status","状态")]
        public int Status { get; set; }

		///<summary>
		///观看人数
		///</summary>
        [Column("MaxPerson","观看人数")]
        public int MaxPerson { get; set; }

		///<summary>
		///开始时间
		///</summary>
        [Column("StartTime","开始时间")]
        public DateTime StartTime { get; set; }

		///<summary>
		///直播时长
		///</summary>
        [Column("Duration","直播时长")]
        public int Duration { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedTime","创建时间")]
        public DateTime CreatedTime { get; set; }

		///<summary>
		///逻辑删除
		///</summary>
        [Column("IsActive","逻辑删除")]
        public int IsActive { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CreatedUserID","")]
        public int CreatedUserID { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdatedTime","")]
        public DateTime UpdatedTime { get; set; }

		///<summary>
		///
		///</summary>
        [Column("UpdatedUserID","")]
        public int UpdatedUserID { get; set; }

		///<summary>
		///播放地址
		///</summary>
        [Column("PlayerUrl","播放地址")]
        public string PlayerUrl { get; set; }

		///<summary>
		///直播地址
		///</summary>
        [Column("PusherUrl","直播地址")]
        public string PusherUrl { get; set; }

	}
}